package com.xiaoxiao.springbootstudy.mapper;

import com.xiaoxiao.springbootstudy.pojo.ScalJh;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author XiaoXiao
* @description 针对表【t_scal_jh】的数据库操作Mapper
* @createDate 2025-05-13 14:45:56
* @Entity com.xiaoxiao.springbootstudy.pojo.ScalJh
*/
public interface ScalJhMapper extends BaseMapper<ScalJh> {
    @Select("SELECT sell.*,cust.cust_name custName FROM `t_scal_jh` sell INNER JOIN t_customer cust on sell.cust_id=cust.id ${ew.customSqlSegment}")
    List<ScalJh> querySellJhListMapper();
}




